home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
general
/
visulztn
/
collage
/
xwin.lha
/
XCollage
/
watch.shar
/
watch.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-09-22
|
964b
|
32 lines
#include <stdio.h> /* Standard I/O stuff */
#include <sys/types.h> /* Different socket types */
#include <sys/socket.h> /* Needed for sockets */
#include <sys/un.h> /* Unix Domain Socket structure*/
#include <sgtty.h> /* I/O configuration structure */
#include <sys/ioctl.h> /* I/O control */
#include <errno.h> /* For Spec. Error messages */
extern errno;
#define BUFSIZE 80 /* Buffer by line at most */
#define TALKSWITCH 23 /* Talk toggle character: ^W */
#define MAXNAME 256 /* Maximum file name length */
#define MAXLINE 80 /* Maximum terminal line length */
#define BACKLOG 1 /* Queue size for listening to sockets*/
#ifndef STDIN
#define STDIN 0
#endif
#ifndef STDOUT
#define STDOUT 1
#endif
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif